// import Vue from 'vue'
import VueCookie from "vue-cookies";
// import store from '@/store'

/**
 * 清除登录信息
 */
export function clearLoginInfo() {
  VueCookie.remove("realName");
  VueCookie.remove("token");
  // store.commit('resetStore')
  sessionStorage.clear();
  // localStorage.clear()
  localStorage.removeItem("vuex");
  localStorage.removeItem("homeUserInfo");
  localStorage.removeItem("analysis_startYear")
  localStorage.removeItem("analysis_endYear")
}
